package com.diandi.signature.mapper;


import com.diandi.signature.bean.pkgmsg.SignaturePlatformPkgMsg;
import org.springframework.stereotype.Repository;

import java.util.Map;


/**
 * 签章三方平台报文Mapper接口
 * @author mwz
 * @create 2017-08-23 14:03
 * @version V1.0.0
 */
@Repository
public interface SignaturePlatformPkgmsgMapper {

    /**
     * 插入签章三文平台报文
     * @param signaturePlatformPkgmsg
     * @return
     */
    public Integer insertSignaturePlatformPkgmsg(SignaturePlatformPkgMsg signaturePlatformPkgmsg);

    /**
     * 根据业务ID得到签章业务端报文
     * @param paramMap
     * @return
     */
    public SignaturePlatformPkgMsg getSignaturePlatformPkgmsgByCode(Map<String, String> paramMap);


    /**
     * 更新签章业务端报文
     * @param signaturePlatformPkgmsg
     * @return
     */
    public Integer updateSignaturePlatformPkgMsg(SignaturePlatformPkgMsg signaturePlatformPkgmsg);

}
